package pl.edu.agh.io.gpstracker.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import pl.edu.agh.io.gpstracker.model.User;


public interface UserDao extends GenericDao<User, Long> {
	User login(String login, String password) throws DataAccessException;

	List<User> findAllByType(Short type) throws DataAccessException;

	void deleteById(Long id);
}
